package com.thread.base01_thread;

public class App1Thread extends Thread{
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName() + ": " + i);
        }
    }

    public static void main(String[] args) {
        App1Thread t = new App1Thread();
        t.start();
    }
}
